import Vue from 'vue'
import Router from 'vue-router'


// 1. helloword 页面
import hello from '@/components/helloworld'
import index from '@/views/Index'
import login from '@/views/Login'
import order from '@/views/Order'


Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/login/',
      name: 'login',
      component: login
    },
    {
      path: '/order/',
      name: 'order',
      component: order
    },
    
  ]
})


